package com.cgwx.tmservice.config;

import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author GaoWei
 * @Date 2023/9/1 - 8:34
 */

@PropertySource("classpath:data-config.properties")
@ConfigurationProperties(prefix = "tm")
@Component
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Api(tags = "参数配置类")
public class DataConfig {
    private Integer fbd_byte;
    private Integer fbd_startBit;
    private Integer fbd_endBit;
    private Integer zbh_byte;
    private Integer zbh_startBit;
    private Integer zbh_endBit;
    private Integer zlxm_byte;
    private Integer zlxm_startBit;
    private Integer zlxm_endBit;
}
